package com.mingdong.first.zhongjiezhe;

import java.util.HashMap;
import java.util.Map;

public class President implements Meditor {

	private Map<String, Depatment> map = new HashMap<String, Depatment>();
	
	public void Commond(String dname) {
		map.get(dname).selftAction();
	}

	public void register(String dname, Depatment dept) {
		map.put(dname, dept);
	}

}
